﻿namespace NoIdeaIoc;
/// <summary>
/// 系统服务接口
/// </summary>
public interface IHostService
{
    /// <summary>
    /// 服务启动时
    /// </summary>
    /// <returns></returns>
    Task<bool> StartAsync();
    /// <summary>
    /// 服务关闭时
    /// </summary>
    /// <returns></returns>
    Task<bool> StopAsync();
}